score = 65
if score >= 90:
    print('A')
elif 80 <= score < 90:
    print('B')
elif score >= 70 and score < 80:
    print('C')
else:
    print('D')
